package com.ifnk.portaljava.dapWeb.common;
/**
 * <p>Title: 发送到flex的消息封装类</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2010</p>
 *
 * <p>Company: </p>
 *
 * @author WenSheng.Song.hlyt@gmail.com
 * @version 1.0
 */
public class MessageBean {
     private String message;
     private boolean stopFlag;
     private boolean errorFlag;
     private String dataCount;
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	public boolean isStopFlag() {
		return stopFlag;
	}
	public void setStopFlag(boolean stopFlag) {
		this.stopFlag = stopFlag;
	}
	public boolean isErrorFlag() {
		return errorFlag;
	}
	public void setErrorFlag(boolean errorFlag) {
		this.errorFlag = errorFlag;
	}
	public MessageBean() {
		super();
	}
	public MessageBean(String message, boolean stopFlag,boolean errorFlag,int dataCount) {
		super();
		this.message = message;
		this.stopFlag = stopFlag;
		this.errorFlag = errorFlag;
		this.dataCount = String.valueOf(dataCount);
	}
	public void setDataCount(String dataCount) {
		this.dataCount = dataCount;
	}
	public String getDataCount() {
		return dataCount;
	}
}
